package com.hjm.java.entity;

public class Address {
    /**
     * "data": {
     *     "id": 6,
     *     "name": "汪小",
     *     "phone": "012210",
     *     "address": "广西大专",
     *     "userId": 1,
     *     "def": true
     *   }
     */

    private Integer id;

    private String name;

    private String phone;

    private String address;

    private Boolean def;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Boolean getDef() {
        return def;
    }

    public void setDef(Boolean def) {
        this.def = def;
    }
}
